#include <stdio.h>

/* function main begins program execution */
int main(void)
{
    int c;

    if ((c = getchar()) != EOF)
    {
        main();
        printf("%c", c);
    }

    return 0;
}

/* Prints the input in reverse mode */
